﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.DataBase.MyWrite.API.Appicant.Command.ApproveCommand
{
    /// <summary>
    /// 添加审批记录表-命令
    /// </summary>
    public class AddLeaveRecordModelCommand: IRequest<APIResult<string>>
    {
        public int? RecordId { get; set; }

        /// <summary>
        /// 请假主键
        /// </summary>
        public int LeaveId { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public int DepId { get; set; }

        /// <summary>
        /// 审批人主键
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 审批人 昵称
        /// </summary>
        public string ApproveNickName { get; set; }
        /// <summary>
        /// 审批状态 -- 1 (通过) -- 2 (不通过)
        /// </summary>
        public string RecordStatus { get; set; }

        /// <summary>
        /// 当前审批级别
        /// </summary>
        public int LevelRoleId { get; set; }

        /// <summary>
        /// 审批时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 拒绝原因
        /// </summary>
        public string? Reason { get; set; }



    }
}
